package com.yike.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 店铺表
 *
 * @author Sakura
 * @since 2024-08-26
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "代理商柱状统计信息")
public class AgentColumnarDataStatisticsVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("统计日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date countDate;

    @ApiModelProperty("销售额")
    private BigDecimal totalAmount = BigDecimal.ZERO;

    @ApiModelProperty("分佣")
    private BigDecimal totalCommission = BigDecimal.ZERO;

}
